//
//  BBussinessLicenseAuditVC.m
//  DistributorAB
//
//  Created by LZY on 2019/9/27.
//  Copyright © 2019 主事丫环. All rights reserved.
//

#import "BBussinessLicenseAuditVC.h"

@interface BBussinessLicenseAuditVC ()

@end

@implementation BBussinessLicenseAuditVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self.leftbutton setImage:imgname(@"left_icon") forState:(UIControlStateNormal)];
    self.view.backgroundColor = kColorWithHex(0xffffff);
    
    [self setupAuditingView];
}

#pragma mark - 审核中
- (void)setupAuditingView{
    
    self.title = @"审核中";
    
    UIImageView *ivAudit = [UIImageView new];
    ivAudit.image = [UIImage imageNamed:@"user_bussiness_license_auditing"];
    [self.view addSubview:ivAudit];
    
    UILabel *lblNotice = [UILabel new];
    lblNotice.text = @"您的营业执照正在审核中…";
    lblNotice.textColor = kColorWithHex(0x333333);
    lblNotice.textAlignment = NSTextAlignmentCenter;
    lblNotice.font = [UIFont systemFontOfSize:18];
    [self.view addSubview:lblNotice];
    
    UILabel *lblNoticeBottom = [UILabel new];
    lblNoticeBottom.text = @"1-3个工作日完成审核，请耐心等候";
    lblNoticeBottom.textColor = kColorWithHex(0x333333);
    lblNoticeBottom.textAlignment = NSTextAlignmentCenter;
    lblNoticeBottom.font = [UIFont systemFontOfSize:18];
    [self.view addSubview:lblNoticeBottom];
    
    [ivAudit mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view.mas_centerX);
        make.top.equalTo(self.view.mas_top).offset(93 + kNaviHeight);
        make.size.mas_equalTo(CGSizeMake(184, 184));
    }];
    
    [lblNotice mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view.mas_centerX);
        make.top.equalTo(ivAudit.mas_bottom).offset(34);
    }];
    
    [lblNoticeBottom mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view.mas_centerX);
        make.top.equalTo(lblNotice.mas_bottom).offset(17);
    }];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
